package com.example.loginmodule.entity;

public class UserInfoEntity {

    /**
     * token : eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxMTcyNzUyMjcxMjc4MDkiLCJ0eXBlIjoyfQ.A_OzUtS90jcLy6ICstfpTrMyobgh4jx3blm1oV5Ec2g
     * account : {"id":2076,"type":2,"outId":null,"openId":"oYjNA5WE35ME5kcO2Shd4iTr3p5g","customerId":null,"passportId":117275227127809,"createTime":"2021-03-03T13:29:50.000+0000","updateTime":"2021-04-28T06:39:51.477+0000","mobile":"152****8930","accountName":null,"password":null,"salt":null,"source":9000,"imgUrl":null,"lastLoginTime":"2021-04-28T06:39:51.477+0000","nickName":null,"userNo":null,"mobileAes":"ejoJ0N9byctUK2DTUzUS2Q==","passportAes":null,"deleteFlag":null,"deviceNo":null,"deviceType":null}
     * passport : null
     * isNew : null
     * hasPhone : 1
     * hasPassword : 0
     */

    private String token;
    /**
     * id : 2076
     * type : 2
     * outId : null
     * openId : oYjNA5WE35ME5kcO2Shd4iTr3p5g
     * customerId : null
     * passportId : 117275227127809
     * createTime : 2021-03-03T13:29:50.000+0000
     * updateTime : 2021-04-28T06:39:51.477+0000
     * mobile : 152****8930
     * accountName : null
     * password : null
     * salt : null
     * source : 9000
     * imgUrl : null
     * lastLoginTime : 2021-04-28T06:39:51.477+0000
     * nickName : null
     * userNo : null
     * mobileAes : ejoJ0N9byctUK2DTUzUS2Q==
     * passportAes : null
     * deleteFlag : null
     * deviceNo : null
     * deviceType : null
     */

    private AccountBean account;
    private String passport;
    private Boolean isNew;
    private int hasPhone;
    private int hasPassword;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public AccountBean getAccount() {
        return account;
    }

    public void setAccount(AccountBean account) {
        this.account = account;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public Boolean getIsNew() {
        return isNew;
    }

    public void setIsNew(Boolean isNew) {
        this.isNew = isNew;
    }

    public int getHasPhone() {
        return hasPhone;
    }

    public void setHasPhone(int hasPhone) {
        this.hasPhone = hasPhone;
    }

    public int getHasPassword() {
        return hasPassword;
    }

    public void setHasPassword(int hasPassword) {
        this.hasPassword = hasPassword;
    }

    public static class AccountBean {
        private int id;
        private int type;
        private String outId;
        private String openId;
        private String customerId;
        private long passportId;
        private String createTime;
        private String updateTime;
        private String mobile;
        private String accountName;
        private String password;
        private String salt;
        private int source;
        private String imgUrl;
        private String lastLoginTime;
        private String nickName;
        private String userNo;
        private String mobileAes;
        private String passportAes;
        private String deleteFlag;
        private String deviceNo;
        private String deviceType;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getOutId() {
            return outId;
        }

        public void setOutId(String outId) {
            this.outId = outId;
        }

        public String getOpenId() {
            return openId;
        }

        public void setOpenId(String openId) {
            this.openId = openId;
        }

        public String getCustomerId() {
            return customerId;
        }

        public void setCustomerId(String customerId) {
            this.customerId = customerId;
        }

        public long getPassportId() {
            return passportId;
        }

        public void setPassportId(long passportId) {
            this.passportId = passportId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAccountName() {
            return accountName;
        }

        public void setAccountName(String accountName) {
            this.accountName = accountName;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public int getSource() {
            return source;
        }

        public void setSource(int source) {
            this.source = source;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getLastLoginTime() {
            return lastLoginTime;
        }

        public void setLastLoginTime(String lastLoginTime) {
            this.lastLoginTime = lastLoginTime;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getUserNo() {
            return userNo;
        }

        public void setUserNo(String userNo) {
            this.userNo = userNo;
        }

        public String getMobileAes() {
            return mobileAes;
        }

        public void setMobileAes(String mobileAes) {
            this.mobileAes = mobileAes;
        }

        public String getPassportAes() {
            return passportAes;
        }

        public void setPassportAes(String passportAes) {
            this.passportAes = passportAes;
        }

        public String getDeleteFlag() {
            return deleteFlag;
        }

        public void setDeleteFlag(String deleteFlag) {
            this.deleteFlag = deleteFlag;
        }

        public String getDeviceNo() {
            return deviceNo;
        }

        public void setDeviceNo(String deviceNo) {
            this.deviceNo = deviceNo;
        }

        public String getDeviceType() {
            return deviceType;
        }

        public void setDeviceType(String deviceType) {
            this.deviceType = deviceType;
        }
    }
}
